#include <Arduino.h>

// put function declarations here:
int btn_pin = 2;
int led_pin = 11;

void setup()
{
  // put your setup code here, to run once:
  pinMode(btn_pin, INPUT);
  pinMode(led_pin, OUTPUT);
}

void loop()
{
  // put your main code here, to run repeatedly:
  int btn_state = digitalRead(btn_pin);
  if (btn_state == HIGH)
  {
    digitalWrite(led_pin, HIGH);
  }
  else
  {
    digitalWrite(led_pin, LOW);
  }
}

// put function definitions here: